package org.stone926.airschool.constant;

import org.springframework.stereotype.Component;

@Component
public final class ErrorCode {
	public static final int REGISTER_SUCCESS = -0xfed;
	public static final int LOGIN_SUCCESS = -0xabc;

	public static final int REGISTER_FAIL = -0xdbc;
	public static final int LOGIN_FAIL = -0xdce;

	public static final int DUPLICATED_STUDENT_NAME = 0xaaa;
	public static final int DUPLICATED_STUDENT_PHONENUMBER = 0xbbb;
	public static final int STUDENT_NAME_IS_NULL = 0xccc;
	public static final int STUDENT_PASSWORD_IS_NULL = 0xddd;
	public static final int STUDENT_PHONENUMBER_IS_NULL = 0xeee;

	public static final int DUPLICATED_TEACHER_NAME = 0xfff;
	public static final int DUPLICATED_TEACHER_PHONENUMBER = 0xa00;
	public static final int TEACHER_NAME_IS_NULL = 0xb00;
	public static final int TEACHER_PASSWORD_IS_NULL = 0xc00;
	public static final int TEACHER_PHONENUMBER_IS_NULL = 0xd00;
}
